<?php /* @var $this Controller */ ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
    <head>

        <script>
            var baseUrl = "<?php print Yii::app()->baseUrl . '/index.php/'; ?>";
            var baseUrlClean = "<?php echo Yii::app()->baseUrl; ?>";
        </script>
    
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />

        <!-- blueprint CSS framework -->
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/screen.css" media="screen, projection" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/print.css" media="print" />
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/menu_1.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/main.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/form.css" />

        <title><?php echo CHtml::encode($this->pageTitle); ?></title>
        <?php // Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/main.js'); ?>
        <?php //Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/funciones.js'); ?>
        
        <?php Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/diasCalendario.js');?>
       
           

        <?php //Yii::app()->clientScript->registerScriptFile(Yii::app()->baseUrl . '/js/jquery-1.11.0.min.js'); ?>
    </head>
    <body>
        <div class="navbar navbar-fixed-top" >
            <div class="navbar-inner">
                <div class="container-fluid" id="navPrincipal">
                    <div class="row-fluid">
                        <div class="span2">
                    <div class="logo">
                        <p class="navbar-text pull-left" ><?php echo CHtml::image(Yii::app()->baseUrl . "/images/logo4.png") ?></p>
                    </div>
                        </div>

                        <div class="span9 offset1">
                        <div id="menuHorizontal"  >
                        <ul>
                                <li><a href="<?php echo Yii::app()->request->baseUrl;  ?>/index.php/eventos/evento/index" ><span><?php echo CHtml::image(Yii::app()->baseUrl . "/images/iconos/home.png") ?></span></a></li>
                            <li><a href='# '><span>Quienes Somos?</span></a></li>
                            <li><a href='#'><span>Contactanos</span></a></li>
                            <li class='last'><a href= <?php Yii::app()->user->ui->logoutUrl ?>><span>Ayuda</span></a></li>
                        </ul>
                    </div>
                            <div class="span1">
                                
                                
                            </div>
                            
                             <div class="span2 ">
                               
                                 <div id="escuela" class="active">
                                     <!--<strong>-->
                                         <?php 
                                         ?>
                                     <!--</strong>-->
                                    </div>
                             
                            </div>
                           
                         

                          
                       
                       
                      

                    </div>
                    
                       
                </div>

                </div>
            </div>
        </div>

       

        <div class="container-fluid" >
            <div class="row-fluid">
                



                <div class="span12">
                    <div class="row-fluid">
                        <div id="maiMessages" class="flash-messages">
                            <?php
                            $messages = Yii::app()->user->getFlashes();
                            if ($messages) {
                                foreach ($messages as $key => $message) {
                                    echo '<div class="alert alert-' . $key . '">'
                                    . '<button data-dismiss="alert" class="close" type="button">×</button>'
                                    . $message . "</div>\n";
                                }
                            }
                            ?>
                        </div>
                    </div>
                    <div class="well">
                    <?php echo $content; ?>

                    </div>
                </div>
            </div>
        </div>

        <div class="clear"></div>

        <div id="footer">
            <!--FOOTER-->
        </div><!-- footer -->


        <div class="row-fluid">
            <?php
            // El modal de la pÃ¡gina
            $this->beginWidget('bootstrap.widgets.TbModal', array('id' => 'mainModal', 'options' => array('backdrop' => 'static')));
            $this->endWidget();
            ?>
        </div>

    </body>
</html>
